/**
 * 
 */
package com.gr.staffpm.pages.management.review.command;

import java.io.Serializable;

import org.apache.wicket.ajax.AjaxRequestTarget;

import com.gr.staffpm.gof.command.IAjaxCommand;


/**
 * @author Graham Rhodes 17 Feb 2011 16:02:05
 */
public class SubmitFeedbackCommand implements IAjaxCommand, Serializable {

    private static final long serialVersionUID = 1L;
    private final IReviewCommandReciever reviewpage;

    public SubmitFeedbackCommand(IReviewCommandReciever reviewpage) {
        this.reviewpage = reviewpage;
    }

    /* (non-Javadoc)
     * @see com.gr.staffpm.gof.command.ICommand#execute()
     */
    @Override
    public void execute(AjaxRequestTarget target) {
        reviewpage.feedbackCallback(target);
    }

}
